package com.itqf.Service.Serviceanswer.Impl;

import com.itqf.Dao.ServiceanswerMapper;
import com.itqf.Service.Serviceanswer.ServiceanswerService;
import com.itqf.entity.Serviceanswer;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Transactional
public class ServiceanswerServiceImpl implements ServiceanswerService
{

    @Resource
    private ServiceanswerMapper serviceanswerMapper;
    @Override
    public Serviceanswer FindByserviced(int serviceId) {
        return serviceanswerMapper.FindByserviced(serviceId);
    }
/**
 * 获得问题列表
 * */
    @Override
    public List<Serviceanswer> Findall() {
        return serviceanswerMapper.Findall();
    }
}
